#pragma once

#include "../SGD Wrappers/SGD_GraphicsManager.h"

class CTile
{
private:
	//Tile Rect
	SGD::Point m_ptSource;
	//Position in the world
	SGD::Rectangle m_rRect;
	//unsigned int m_nTileNum;
	int m_nType;

public:
	CTile(SGD::Rectangle rect, SGD::Point src = SGD::Point(0,0), int type = 0);
	~CTile() = default;

	//Accessors
	//int GetTileNum()	const	{ return m_nTileNum; }
	SGD::Point GetSource()	{ return m_ptSource; }
	SGD::Rectangle GetRect() { return m_rRect; }
	int GetType()	const	{ return m_nType; }

	//Mutators
	void SetRect(SGD::Rectangle rect) { m_rRect = rect; }
	void SetSource(SGD::Point src) { m_ptSource = src; }
	void SetType(int type)	{ m_nType = type; }
};

